package com.zsc.wxm.ysh.anjo.house.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zsc.wxm.ysh.anjo.service.base.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/19 22:39
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("view_request")
@ApiModel(value="Resources对象", description="看房请求")
public class ViewRequest extends BaseModel {

    @ApiModelProperty("租客id")
    private Long rentUserId;

    @ApiModelProperty("房源id")
    private Long resourcesId;

    @ApiModelProperty("请求时间")
    private LocalDateTime requestTime;

    @ApiModelProperty("看房时间")
    private LocalDateTime viewTime;

    @ApiModelProperty("请求状态：1、待确认2、待看房3、已取消4、已完成")
    private Integer requestStatus;
}
